package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.AddReservationDto;
import com.zzyl.dto.ReservationDto;
import com.zzyl.vo.CountByTimeVo;
import com.zzyl.vo.ReservationVo;

import java.util.List;

/**
 * 服务接口：BedService（床位管理服务）
 */
public interface ReservationService {

    Long selectCancelCount(Long id);

    List<CountByTimeVo> selectCountByTime(Long time);

    void addReservation(AddReservationDto dto);

    PageResponse<ReservationVo> selectAll(ReservationDto dto);

    void cancelReservation(Long id);
}
